package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;

import java.time.LocalDateTime;

public class EnterpriseCarHandoverBean extends RootBean {
    /**
     * id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 企业id（乙方） enterprise_id
     */
    private Integer enterpriseId;

    /**
     * 车辆id car_id
     */
    private Integer carId;

    /**
     * 车架号 vin
     */
    private String vin;

    /**
     * 车牌号 licence_plate
     */
    private String licencePlate;

    /**
     * 颜色id color_id
     */
    private Integer colorId;

    /**
     * 车型id model_id
     */
    private Integer modelId;

    /**
     * 接车人 enterprise_receiver
     */
    private String enterpriseReceiver;

    /**
     * 接车人身份证 enterprise_receiver_idcard
     */
    private String enterpriseReceiverIdcard;

    /**
     * 起租里程 start_mileage
     */
    private Integer startMileage;

    /**
     * 还车里程 return_mileage
     */
    private Integer returnMileage;

    /**
     * 交接时间 handover_time
     */
    private LocalDateTime handoverTime;

    /**
     * 交接中转库id handover_stock_id
     */
    private Integer handoverStockId;

    /**
     * 中转库围栏id fence_id
     */
    private Integer fenceId;

    /**
     * 交接类型（1：交车，2：还车（退租）） type
     */
    private Integer type;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_enterprise_car_handover
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return id
     * @date 2020-06-04 10:16:06
     */
    @Override
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     *
     * @return order_code 订单号
     * @date 2020-06-04 10:16:06
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     *
     * @param orderCode 订单号
     * @date 2020-06-04 10:16:06
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 企业id（乙方）
     *
     * @return enterprise_id 企业id（乙方）
     * @date 2020-06-04 10:16:06
     */
    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    /**
     * 企业id（乙方）
     *
     * @param enterpriseId 企业id（乙方）
     * @date 2020-06-04 10:16:06
     */
    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    /**
     * 车辆id
     *
     * @return car_id 车辆id
     * @date 2020-06-04 10:16:06
     */
    public Integer getCarId() {
        return carId;
    }

    /**
     * 车辆id
     *
     * @param carId 车辆id
     * @date 2020-06-04 10:16:06
     */
    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 车架号
     *
     * @return vin 车架号
     * @date 2020-06-04 10:16:06
     */
    public String getVin() {
        return vin;
    }

    /**
     * 车架号
     *
     * @param vin 车架号
     * @date 2020-06-04 10:16:06
     */
    public void setVin(String vin) {
        this.vin = vin == null ? null : vin.trim();
    }

    /**
     * 车牌号
     *
     * @return licence_plate 车牌号
     * @date 2020-06-04 10:16:06
     */
    public String getLicencePlate() {
        return licencePlate;
    }

    /**
     * 车牌号
     *
     * @param licencePlate 车牌号
     * @date 2020-06-04 10:16:06
     */
    public void setLicencePlate(String licencePlate) {
        this.licencePlate = licencePlate == null ? null : licencePlate.trim();
    }

    /**
     * 颜色id
     *
     * @return color_id 颜色id
     * @date 2020-06-04 10:16:06
     */
    public Integer getColorId() {
        return colorId;
    }

    /**
     * 颜色id
     *
     * @param colorId 颜色id
     * @date 2020-06-04 10:16:06
     */
    public void setColorId(Integer colorId) {
        this.colorId = colorId;
    }

    /**
     * 车型id
     *
     * @return model_id 车型id
     * @date 2020-06-04 10:16:06
     */
    public Integer getModelId() {
        return modelId;
    }

    /**
     * 车型id
     *
     * @param modelId 车型id
     * @date 2020-06-04 10:16:06
     */
    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    /**
     * 接车人
     *
     * @return enterprise_receiver 接车人
     * @date 2020-06-04 10:16:06
     */
    public String getEnterpriseReceiver() {
        return enterpriseReceiver;
    }

    /**
     * 接车人
     *
     * @param enterpriseReceiver 接车人
     * @date 2020-06-04 10:16:06
     */
    public void setEnterpriseReceiver(String enterpriseReceiver) {
        this.enterpriseReceiver = enterpriseReceiver == null ? null : enterpriseReceiver.trim();
    }

    /**
     * 接车人身份证
     *
     * @return enterprise_receiver_idcard 接车人身份证
     * @date 2020-06-04 10:16:06
     */
    public String getEnterpriseReceiverIdcard() {
        return enterpriseReceiverIdcard;
    }

    /**
     * 接车人身份证
     *
     * @param enterpriseReceiverIdcard 接车人身份证
     * @date 2020-06-04 10:16:06
     */
    public void setEnterpriseReceiverIdcard(String enterpriseReceiverIdcard) {
        this.enterpriseReceiverIdcard = enterpriseReceiverIdcard == null ? null : enterpriseReceiverIdcard.trim();
    }

    /**
     * 起租里程
     *
     * @return start_mileage 起租里程
     * @date 2020-06-04 10:16:06
     */
    public Integer getStartMileage() {
        return startMileage;
    }

    /**
     * 起租里程
     *
     * @param startMileage 起租里程
     * @date 2020-06-04 10:16:06
     */
    public void setStartMileage(Integer startMileage) {
        this.startMileage = startMileage;
    }

    /**
     * 还车里程
     *
     * @return return_mileage 还车里程
     * @date 2020-06-04 10:16:06
     */
    public Integer getReturnMileage() {
        return returnMileage;
    }

    /**
     * 还车里程
     *
     * @param returnMileage 还车里程
     * @date 2020-06-04 10:16:06
     */
    public void setReturnMileage(Integer returnMileage) {
        this.returnMileage = returnMileage;
    }

    /**
     * 交接时间
     *
     * @return handover_time 交接时间
     * @date 2020-06-04 10:16:06
     */
    public LocalDateTime getHandoverTime() {
        return handoverTime;
    }

    /**
     * 交接时间
     *
     * @param handoverTime 交接时间
     * @date 2020-06-04 10:16:06
     */
    public void setHandoverTime(LocalDateTime handoverTime) {
        this.handoverTime = handoverTime;
    }

    /**
     * 交接中转库id
     *
     * @return handover_stock_id 交接中转库id
     * @date 2020-06-04 10:16:06
     */
    public Integer getHandoverStockId() {
        return handoverStockId;
    }

    /**
     * 交接中转库id
     *
     * @param handoverStockId 交接中转库id
     * @date 2020-06-04 10:16:06
     */
    public void setHandoverStockId(Integer handoverStockId) {
        this.handoverStockId = handoverStockId;
    }

    /**
     * 中转库围栏id
     *
     * @return fence_id 中转库围栏id
     * @date 2020-06-04 10:16:06
     */
    public Integer getFenceId() {
        return fenceId;
    }

    /**
     * 中转库围栏id
     *
     * @param fenceId 中转库围栏id
     * @date 2020-06-04 10:16:06
     */
    public void setFenceId(Integer fenceId) {
        this.fenceId = fenceId;
    }

    /**
     * 交接类型（1：交车，2：还车（退租））
     *
     * @return type 交接类型（1：交车，2：还车（退租））
     * @date 2020-06-04 10:16:06
     */
    public Integer getType() {
        return type;
    }

    /**
     * 交接类型（1：交车，2：还车（退租））
     *
     * @param type 交接类型（1：交车，2：还车（退租））
     * @date 2020-06-04 10:16:06
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 备注
     *
     * @return remark 备注
     * @date 2020-06-04 10:16:06
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     *
     * @param remark 备注
     * @date 2020-06-04 10:16:06
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 创建时间
     *
     * @return gmt_create 创建时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     *
     * @param gmtCreate 创建时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     *
     * @return gmt_modified 修改时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     *
     * @param gmtModified 修改时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EnterpriseCarHandoverBean other = (EnterpriseCarHandoverBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
                && (this.getEnterpriseId() == null ? other.getEnterpriseId() == null : this.getEnterpriseId().equals(other.getEnterpriseId()))
                && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
                && (this.getVin() == null ? other.getVin() == null : this.getVin().equals(other.getVin()))
                && (this.getLicencePlate() == null ? other.getLicencePlate() == null : this.getLicencePlate().equals(other.getLicencePlate()))
                && (this.getColorId() == null ? other.getColorId() == null : this.getColorId().equals(other.getColorId()))
                && (this.getModelId() == null ? other.getModelId() == null : this.getModelId().equals(other.getModelId()))
                && (this.getEnterpriseReceiver() == null ? other.getEnterpriseReceiver() == null : this.getEnterpriseReceiver().equals(other.getEnterpriseReceiver()))
                && (this.getEnterpriseReceiverIdcard() == null ? other.getEnterpriseReceiverIdcard() == null : this.getEnterpriseReceiverIdcard().equals(other.getEnterpriseReceiverIdcard()))
                && (this.getStartMileage() == null ? other.getStartMileage() == null : this.getStartMileage().equals(other.getStartMileage()))
                && (this.getReturnMileage() == null ? other.getReturnMileage() == null : this.getReturnMileage().equals(other.getReturnMileage()))
                && (this.getHandoverTime() == null ? other.getHandoverTime() == null : this.getHandoverTime().equals(other.getHandoverTime()))
                && (this.getHandoverStockId() == null ? other.getHandoverStockId() == null : this.getHandoverStockId().equals(other.getHandoverStockId()))
                && (this.getFenceId() == null ? other.getFenceId() == null : this.getFenceId().equals(other.getFenceId()))
                && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
                && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
                && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getEnterpriseId() == null) ? 0 : getEnterpriseId().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getVin() == null) ? 0 : getVin().hashCode());
        result = prime * result + ((getLicencePlate() == null) ? 0 : getLicencePlate().hashCode());
        result = prime * result + ((getColorId() == null) ? 0 : getColorId().hashCode());
        result = prime * result + ((getModelId() == null) ? 0 : getModelId().hashCode());
        result = prime * result + ((getEnterpriseReceiver() == null) ? 0 : getEnterpriseReceiver().hashCode());
        result = prime * result + ((getEnterpriseReceiverIdcard() == null) ? 0 : getEnterpriseReceiverIdcard().hashCode());
        result = prime * result + ((getStartMileage() == null) ? 0 : getStartMileage().hashCode());
        result = prime * result + ((getReturnMileage() == null) ? 0 : getReturnMileage().hashCode());
        result = prime * result + ((getHandoverTime() == null) ? 0 : getHandoverTime().hashCode());
        result = prime * result + ((getHandoverStockId() == null) ? 0 : getHandoverStockId().hashCode());
        result = prime * result + ((getFenceId() == null) ? 0 : getFenceId().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", enterpriseId=").append(enterpriseId);
        sb.append(", carId=").append(carId);
        sb.append(", vin=").append(vin);
        sb.append(", licencePlate=").append(licencePlate);
        sb.append(", colorId=").append(colorId);
        sb.append(", modelId=").append(modelId);
        sb.append(", enterpriseReceiver=").append(enterpriseReceiver);
        sb.append(", enterpriseReceiverIdcard=").append(enterpriseReceiverIdcard);
        sb.append(", startMileage=").append(startMileage);
        sb.append(", returnMileage=").append(returnMileage);
        sb.append(", handoverTime=").append(handoverTime);
        sb.append(", handoverStockId=").append(handoverStockId);
        sb.append(", fenceId=").append(fenceId);
        sb.append(", type=").append(type);
        sb.append(", remark=").append(remark);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}